<?php

namespace app\admin\validate;

use think\Validate;

class FakeData extends Validate
{
    protected $rule = [
        "avatar|头像"=>'require|string',
        "money|金额"=>'require|number',
        'username|用户名称'=>'require',
    ];


    protected $message = [];
    protected $scene=[
        'create'=>['avatar','money','title','username','vip'],
        'update'=>['avatar','money','title','username','vip'],
    ];
}
